package com.qf.mapper;

import com.qf.entity.MallGoods;
import com.qf.entity.ViewGoods;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

/**
 * <p>title: com.qf.mapper</p>
 * <p>Company: wendao</p>
 * author zhuximing
 * date 2021/9/18
 * description:
 */
public interface GoodsMapper {

    public List<ViewGoods> findGoodsByPage(MallGoods goods);
    @Delete("delete from mall_goods where spu_id=#{id}")
    int delete(long id);
}